from models.models import User


def get_userinfo_from_username(_id):
    user = User.query.filter_by(id=_id).first()
    return user



